Do not issue deprecation warnings in test mode.
1.0.7