Added test case for plugin invocation