         set text: "123456789abc", cursor: [0, 0]
 
       it "repeats N times", ->
-        ensure '3x', text: '456789abc'
+        ensure '3 x', text: '456789abc'
 
       it "repeats NN times", ->
-        ensure '10x', text: 'bc'
+        ensure '1 0 x', text: 'bc'
 
     describe "with motions", ->
       beforeEach ->
         set text: 'one two three', cursor: [0, 0]
 
       it "repeats N times", ->
-        ensure 'd2w', text: 'three'
+        ensure 'd 2 w', text: 'three'
 
     describe "in visual mode", ->
       beforeEach ->
         set text: 'one two three', cursor: [0, 0]
 
       it "repeats movements in visual mode", ->
-        ensure 'v2w', cursor: [0, 9]
+        ensure 'v 2 w', cursor: [0, 9]
 
   describe "Register", ->
     describe "the a register", ->


      describe "Yank", ->
        it "save text to per selection register", ->
          keystroke "yiw"
          ensurePerSelectionRegister('012', 'abc', 'def')

      describe "Delete family", ->
        it "d", ->
          ensure "diw", text: ":\n:\n:\n"
          ensurePerSelectionRegister('012', 'abc', 'def')
        it "x", ->
          ensure "x", text: "02:\nac:\ndf:\n"

        keystroke 'i'

      it "inserts contents of the unnamed register with \"", ->
        ensure ['ctrl-r', {char: '"'}], text: '013452\n'

      describe "when useClipboardAsDefaultRegister enabled", ->
        it "inserts contents from clipboard with \"", ->
          settings.set 'useClipboardAsDefaultRegister', true
          ensure ['ctrl-r', {char: '"'}], text: '01clip2\n'

      it "inserts contents of the 'a' register", ->
        ensure ['ctrl-r', {char: 'a'}], text: '01abc2\n'

      it "is cancelled with the escape key", ->
        ensure ['ctrl-r', {char: 'escape'}],
          text: '012\n'
          mode: 'insert'
          cursor: [0, 2]
