Added AttributeTest class

tests for the equals method