text: var path = require('path');
  var fs = require('fs');
  
  module.exports = {
    'init empty': function(browser) {
      browser
        .url('file://' + path.join(__dirname, 'index.html'))
        .waitForElementVisible('body', 1000)
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '12')
    },
    'shift1': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '2')
    },
    'shift2': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '')
    },
    'restore1': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '012')
    },
    'shift3': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '12')
    },
    'shift4': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '2')
    },
    'restore2': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '2')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="6">0</span>12')
    },
    'shift5': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '12')
    },
    'shift6': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '2')
    },
    'restore3': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '2')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="7">1</span><span migi-uid="8">2</span>')
    },
    'shift7': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="8">2</span>')
    },
    'shift8': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '')
    },
    'restore4': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '3')
        .assert.containsText('#test p[ref="2"]', '0<span migi-uid="9">1</span><span migi-uid="10">2</span>')
    },
    'shift9': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '2')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="9">1</span><span migi-uid="10">2</span>')
    },
    'shift10': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="10">2</span>')
    },
    'restore5': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '3')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="10">0</span><span migi-uid="12">1</span><span migi-uid="13">2</span>')
    },
    'shift11': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '2')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="12">1</span><span migi-uid="13">2</span>')
    },
    'shift12': function(browser) {
      browser
        .click('#test strong')
        .assert.containsText('#test p[ref="1"]', '1')
        .assert.containsText('#test p[ref="2"]', '<span migi-uid="13">2</span>')
    },
    'end': function(browser) {
      browser
        .end()
    }
  };