fix unit network tests