Adapt FileLoader unit tests