Improve tests to check function signature too
Merge remote-tracking branch 'chiiph/bug/fix_call_args' into develop