Add test failures if warnings are caught
