testing mongoose and printing wd