added mongoose test file