r actual = deepTargetFind(-1, -1);
    assert.equal(actual, null);
  });

  test('find the div in document', function() {
    var x = divLocation.left, y = divLocation.top;
    var actual = deepTargetFind(x, y);
    assert.equal(actual, div);
  });

  test('find the div with a shadowroot', function() {
    div.attachShadow({mode: 'open'});
    var x = divLocation.left, y = divLocation.top;
    var actual = deepTargetFind(x, y);
    assert.equal(actual, div);
  });

  test('find the div inside a shadowroot',