fix networkgenerator test