Added test config.  Updated deprecated mongo method.