Fix invalid test case