fix default event handler of "plugin"
add test fixtures for plugin
add test cases for comfort plugin