Currently, some of the tests rely on `fs` from node. Figure out how to make this work for browser based tests.