Add tests for events and views
Merge pull request #31 from mdmoss/master

Tests and views and utils
Merge remote-tracking branch 'upstream/master'