Add output parameter support and test.

I seem to remember that this list contains only expectations pertaining to the same function. I thought having the same parameter name twice was illegal and would raise a compiler error?