Bug fix for when literal is on LHS
new unit test that attempts to repro issue #116