I copied this from the main beforeEach block, didn't look into what this is for, only the comment about it being required.