Added test for generation of if expression
Added support for generation of if expression using a ternary if construct in the OO AST