Made sure we don't print out deprecation warnings when testing
deprecated methods

Makes the test output look noisy and obscures useful output