test for mongodb connection added