qunit tests for basic events