add tests for connection-dialog