test attributes for elements and forms