validating test