Attribute adding and test framework