Replacing assertNotIn(foo, bar) with assertTrue(foo not in bar).

Python 2.6 does not support assertNotIn.