Added tests for If/UseIf