Base class for mock tests