     describe "the zs keybinding", ->
       zsPos = (pos) ->
         editor.setCursorBufferPosition([0, pos])
-        keystroke 'zs'
+        keystroke 'z s'
         editorElement.getScrollLeft()
 
       startPosition = NaN

        spyOn(editor, 'getCursorScreenPosition').andReturn({row: 6, column: 0})

      it "moves the screen up by one and keeps the cursor onscreen", ->
        keystroke {ctrl: 'y'}
        expect(editorElement.setScrollTop).toHaveBeenCalledWith(90)
        expect(editor.setCursorScreenPosition).toHaveBeenCalledWith([5, 0])


        spyOn(editor, 'getCursorScreenPosition').andReturn({row: 3, column: 0})

      it "moves the screen down by one and keeps cursor onscreen", ->
        keystroke 'ctrl-e'
        expect(editorElement.setScrollTop).toHaveBeenCalledWith(110)
        expect(editor.setCursorScreenPosition).toHaveBeenCalledWith([4, 0])

