Hoist this and the same clause from the previous test to a beforeEach (with appropriate afterEach, if necessary)?