node.js: monogdb connectivity test using mongoose