Created base class for mongodb tests