Fix: heredocs syntax and tests

- escape quotes correctly
- don't include content on the first line
Merge pull request #38 from LnL7/fix-heredoc

Fix: heredocs syntax and tests