Added test for attributes #104

*Tests added for attributes