fixed the problem with quoting heredocs

also fixed the path for the unit test
Merge pull request #3 from liviutudor/Liv_fix_paths

fixed the problem with quoting heredocs