Replaced assert_is_instance(..) with assert_true(isinstance(..)) for Python 2.6 compatibility