Fix test suite compilation with network 2.6