Added and fixed unit tests

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.