format test case