Fix test: assertIsInstance is new in Python2.7