hasNetworks now works. added tests