adding Base class for model tests