Support affiliation notification events
Add tests for event notifications
0.12.1