Added Jasmine tests for eventing.