Script should exit if bad test is given