Fixed badException test