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

settings are read in from environment variable
I think both the format strings and the args have the order `host`, `port`, `db`, no?