Found issue with cwd for glob itself. Fixing that and opening a can of worms
Renamed filepath to cwdpath to be more accurate and everything looking good
Adjusted threshold to get test passing
Running full test suite and finding 2 regressions