add test for skipping validations when value is null and allowNull is true
Merge pull request #634 from tremby/allowNull-skip-validations-test

add test for skipping validations when value is null and allowNull is true