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