expect for test case