Adds testing specific db config
Adds config for MongoDB class
Sets the config on Image class