add testcase for failure result