fix(tests): use assertTrue for py2.6