Add Test::NoWarnings to tests.