expose events

#288
single commit
tests edited