test coverage for min/maxLength validation on parameters
move error_messages module and add tests for maxItems in parameter validation