This is common setup in all of the `Attribute` specs. It should probably be moved into a shared context.