add network support in test