Fixed a missed compilation error in TestValidators.