Add static By.attribute, unit tests