Mock files for unit testing
Finally a working version of unit tests!