Surrounded all tests with if statement testing compile fail