Check some common if/then/else construct.