Try Eicar.com and download their test file. It is what I use.
My University project involving compiling an anti-virus software and test out its effectiveness. However, i don't know where to download some virus files to test it. Can someone helP? R there any website sharing these files? Thanks!