Testing another mongodb method