Add tests for Attributes