test for validation response