r.Base.async(function() {
          assert.equal(window.pageXOffset, x, 'document scrollLeft');
          assert.equal(window.pageYOffset, y, 'document scrollTop');
          done();
        }, 100);

      });

      test('scrolling region', function(done) {
        var x = 500;
        var y = 500;
        var region = document.querySelector('#region');

        Polymer.AppLayout.scroll({left: x, top: y, target: region});

        Polymer.Base.async(function() {
          assert.equal(region.scrollLeft, x