Added Mocha tests having DOM interations