Added tests for attributeManager