unit test on plugins