Add test to cover premature heredoc termination
Add test to cover indented heredoc