TestAssignIf: improved code coverage