Fixed mongoose test