Move sock setup in spec to a beforeEach