Testing out mongodb interface