Test case correction