Fixed deprecation in tests