ConnectionsService, snippets and test cases