Adding capability to override mongo configuration.
Adding capability to override path storage location as well as tests.