add base class for shares tests