make unit tests respect mongo port/host settings (with default)

settings are read in from environment variable
If nothing else, these 2 lines are worth taking.  without them, I was monitoring the mongo logs, and I got up to >500 mongod connections open! (native os)