creating the validation test