Tests and fail travis/tox on deprecation warnings.