Workaround for assertIn for Python 2.6