New Validator and spec tests for 10 different types of errors with options