add simple test for plugin(not perfect)