Wrote Network class before running test