Changed all assert method names to remove deprecated aliases

This is to avoid the deprecation warnings that tox shows when running tests
Please use `self.assertInf('x', dummy)`, see https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertIn
This will lead to a better error message if it fails.