add new connection test: switch to conenction parameter if url is given but it is NULL