       scope.scroll.should.not.have.been.called
 
       if not isWindow
-        # Means nothing while the tests are broken
-        # container[0].scrollByLines(200)
-      else
-        # This is not right - container height is still 709, not 1000 as it is supposed to be
+        el.pageYOffset = 800
+      else
         fakeWindow[0].scroll 0, $document[0].body.offsetHeight - 2 * fakeWindow[0].innerHeight
         container = fakeWindow
 

      if not isWindow
        container[0].style.height = '1000px'
      else
        fakeWindow[0].resizeTo(1000, 1000)
        container = fakeWindow

      scope = $rootScope.$new(true)

      if not isWindow
        container[0].style.height = '1000px'
      else
        container = fakeWindow

      scope = $rootScope.$new(true)
