Changed all assert method names to remove deprecated aliases

This is to avoid the deprecation warnings that tox shows when running tests