Changed all assert method names to remove deprecated aliases

This is to avoid the deprecation warnings that tox shows when running tests
Please use `isInstance` https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertIsInstance