Testing elasticsearch connection