Made README.md use the newer addTest method for registering tests.

This function deals better with edge cases like tests named
'constructor'.