Added mogoose code to store info in db test