Merge pull request #520 from wangxiao/plugin

修正单页多实例的bug
修正测试用例等