652 add scan logic job unit tests
Merge Request Description
Merge Request BOE
Risk
low -- unit tests shouldn't affect other functionality in the pipeline, but a small refactor change was made for opening a file to be consistent with the rest of the code base
Rollback Plan
revert MR
Testing
locally tested