Updated invocation tests, and added additional tests for non-constructor functions