Adapt the tests to the new deprecation output.