Add tests for subscribe and unsubscribe methods and fix issues discovered
Add tests for testing immutability of event data
Fix linting errors and add travis config