Test for call_function.