fix a type in the test case