test that connection works