Fix function name in test case which was changed in source