Changed how networks are created in autoscale when nothing is specified.

GitHub #262

Also cleaned up some test code, and increased test coverage to 100%