simplify test case