Add tests for the IR of some constructs.
The tests are easy to write (just dump the IR) but easy to break :-)
Merge pull request #596 from pitrou/test_ir_dump

Add tests for the IR of some constructs.