Add state field with validations and spec example.
Refactoring spec examples: add nested describe for attributes