how to test dom elements in jasmine