rename some confusing variable names in handling of EAssign
add doctest for current bug