Added Mocha test for initial events