Add tests for Attributes module