it('constructs JSON for selector with modified name', () => {
      expect(newSelector.toJSON()).to.deep.equal(['newName'])
    })