test for attributes.