Remove unneeded function argument in the test code.