updated mongoose test