new test for warning messages