Changed assertIsInstance to assertTrue for backwards compatability.