Fix an incorrect code produced by the quick-fix when a if-statement is not in a block
Add automatic tests
Set version 0.4.0