Issue 42 test
new tests

+ TestOptimizer
+ TestDeadCode
+ Issue42