you should try to use mocks as much as possible instead of relying on the real files, this is not very reliable and this makes fragile and not extensible unit tests