Added unit tests for the plugin.