defined validation

Okay, tear it apart :)
Test also the `:required` shortcut for field definitions.

You can also remove this test once done: https://github.com/nviennot/nobrainer/blob/master/spec/integration/validation_spec.rb#L158-L165