fixed the problem with quoting heredocs

also fixed the path for the unit test