Add tests for network commands