changed config values for mongo provider
Moved some values to config
Added first simple test
Fixed config reading