tests: use assertIsInstance instead of assertTrue(isinstance

Hey, that assert function already exists. How nice.