Fix test_deprecation test.