Add more test cases of events
Bump version to 0.5.2