Add fails function to Validator package