better attribute tests