rand.Seed(time.Now().UnixNano())
 
-       err := db.InitializeDatabaseConnection()
+       err := db.InitializeDatabaseConnection("mco")
        if err != nil {
                log.Println("Unable to initialize database connection...")
                log.Println(err)
 
 }
 
 // CreateDBClient creates the DB client
-func createDBClient(dbType string) error {
+func createDBClient(dbType string, dbName string) error {
        var err error
        switch dbType {
        case "mongo":
                // create a mongodb database with orchestrator as the name
-               DBconn, err = NewMongoStore("orchestrator", nil)
+               DBconn, err = NewMongoStore(dbName, nil)
        default:
                return pkgerrors.New(dbType + "DB not supported")
        }
 
 // InitializeDatabaseConnection sets up the connection to the
 // configured database to allow the application to talk to it.
-func InitializeDatabaseConnection() error {
-       err := createDBClient(config.GetConfiguration().DatabaseType)
+func InitializeDatabaseConnection(dbName string) error {
+       err := createDBClient(config.GetConfiguration().DatabaseType, dbName)
        if err != nil {
                return pkgerrors.Cause(err)
        }
 
        t.Run("Successfully create DB client", func(t *testing.T) {
                expected := &MongoStore{}
 
-               err := createDBClient("mongo")
+               err := createDBClient("mongo", "testdb")
                if err != nil {
                        t.Fatalf("CreateDBClient returned an error (%s)", err)
                }
                }
        })
        t.Run("Fail to create client for unsupported DB", func(t *testing.T) {
-               err := createDBClient("fakeDB")
+               err := createDBClient("fakeDB", "testdb2")
                if err == nil {
                        t.Fatal("CreateDBClient didn't return an error")
                }