Fix regression on multiline strings and add test for issue 174

The test for issue #21 did not fail while it should have, so I made the test more strict and fixed the issue.

I also added a simple test case for issue #174 (expected-result failed, so still needs a fix).