fix deprecations in tests