Added some unit tests for the plugin object