testHelper: domEqual now ignores empty class attribute.