chore(warnings): fix deprecation warnings in the test suite