compatible with 0.6.1
add tests for EventThread