Support removal of names on right side

This is an extension of the existing removal of literals.
Adjust test for sake of Python 2.7

See http://bugs.python.org/issue10091