when running tests ignore some warnings.