More test cases for function calls