using unittest.assertIsInstace