Created execte exeption test case.