Test for JDOQL "IF ... ELSE IF ... ELSE ..."