network: moves tests to fixtures

@weilu thoughts?