testing nodejs and mongodb shell scripts