Port test_models and test_providers to pytest.

Fix some undiscovered bug while we're at it as well.
Port test_utils to pytest.
Port travis config to pytest
Port tox config to pytest.