Add tests for the attribute schema