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

settings are read in from environment variable
Variables appear out-of-order here.