fixing spec to respect new dom classes