Fixed the deprecation warnings being triggered by the tests
5 files changed