Adding base class for Repository test