Added tests for Invocation