added element data attribute tests