Added Jasmine tests having DOM interations