Fix testcase setup