add tests for network connections