Deleted old code
fixed the wrong test with false store in mongoose test