Fail tests on DeprecationWarnings