And & OR validation test