Add attribute tests