Added tests for if expressions.