Added basic tests for connections