Improve tests

I noticed we could use a few more tests, so thought I'd give it a quick bash.

I'm looking for suggestions on how to improve this. I'm not sure I like the `$.each` for testing each of the events, as it's making the tests a bit more complex than they should be.