Refactor some commonality to fixture.