Make Karma testing task a little more memorable
Fix JSDoc headers
Clean up tests
Fix events
Add unit tests for events