docs, tests: Tested and Documented the Attribute class