test connection works