working on mongo tests