Add failing test for schmittjoh#79
Fix indentation of generated code

The previous commit added the new line of code *before* the indent() call, which
made the compiled line of code look wrongly indented.
Fix generated code comparison tests