added mongoose test