add test for custom plugin