tests: Use assertTrue(isinstance..  instead of assertIsInstance( (For comptatibility reasons)