Fix required validation logic.

When a field is required but the property exists and is undefined
validation was passing, updated test in the required rule to catch this
scenario.
0.1.14