added attribute tests