Fixed broke exception test
Events fixes, documentation, tests