repairing broken testcase