error test case