Test::NoWarnings only if needed