replace deprecated aliases with the correct method names

see http://docs.python.org/2/library/unittest.html#deprecated-aliases for more information