Tweak warning flags in tests.