Replacing assertIs(foo, bar) with assertTrue(foo is bar).

Python 2.6 does not support assertIs.