expect(getAttributes(scratch.firstElementChild)).toEqual({
        j: '2',
        i: '2',
        foo: 'bar'
      })