test/core/pathGatherer.js: Wrote tests for pathGatherer.js module