Added network tests

mocha should not be a dependency, its in devDependencies already