Added connection test.