fix network tests compile error