added test class for all attributes.