Fix error in testcases