Add test case for function call.