Added a test for parameter-first invocation