DBServer: Resolve unittests lack of inheritance in the class cleanup.