fix test for plugin