suppress warnings in tests for deprecated functions