Don't require the use of Test::Warnings.

Test::Warnings is not core, and I don't want to require too manay
dependencies.