All tests pass but with deprecation warnings