mock databasemanager