Aside from testing our new module (network.js), we also had to add logic that would test Filer appropriately in both the node and browser environments.
We made a module to encapsulate the logic that chooses the nodejs or browser dependency that actually downloads a file when the module is used.