added spec test base class