Testing node with mongodb