fixes test case