http://en.wikipedia.org/wiki/EICAR_test_file It's called the EICAR Standard Anti-Virus Test File.
The reason who some people's antivirus software doesn't pick it up is that they've put exclusions into the AV to ignore it.