Adding tests for getNetworks, getNetwork and createNetwork