add tests for called_functions and get_arguments