update test to use uri from conf, simplify mongo connection for getCollections to better support replica sets