network: code style fix in tests