- added TestPlugin
- fixed eventregistration