Fix python2.6 tests.

AssertIn is not supported, use assertTrue instead.