Switched Test::NoWarnings to Test::FailWarnings.