fixed database timeouts and added some more test for proteinjson
tests added for Network.scala