Added mock-fs to dev dependencies
Swapped tmp dir to os.tmpdir()
Mocked fs module