add test for driver.element.attr