Add test for function calls.