AssignIf: added todo test case (pass variable by value to function)