add unit test for Plugins