Removed assert.
Added the missing mongodb url config.
Fixed tests.