Fix getStateAtPosition test case