validates test