Fix compat deprecation warning test

Last update broke it