added tests for IfThen / IfThenElse expressions