lcse should not optimize expressions inside a logical expr
fix a bug in a test commited in prev one
move a test