add value-based equality for ValidationError

ValidationErrors were not comparing on values because of the delay around expectation