Added assertIsXXX functions