BZ-1060252: adapted tests to avoid a line break at end of path content