gi: fix a test for FunctionInfo#invoke

It expects Array. We should confirm specification.