Extract test fixtures into their own base class