test/core/pathGatherer.js: Refactored test to use map instead of reduce while creating fullpaths of test files