Test for validation of operators.