change deprecation warning tests to have a more lenient error detection

Loosened tests for deprecation warnings.  Happy New Year!