Add assertions to dom helpers spec

Clean up…