[TASK] Add test for integrateFiles