describe('options page', function() {
    this.timeout(5000);

    var FILE = 'test/empty.html';
    var PATH = 'options.html';

    it('should not show anything on first load', function(done) {
        var chrome = require('sinon-chrome');

        beforeLoadFunction = function() {
            page.evaluate(function() {
                chrome.storage.sync.get = function(cb) {
                    cb([]);
                };
            });
        };

        page.open(PATH, function(r) {
            page.evaluate(function() {
                assert.equal(
                    document.querySelector('input').value,
                    ''
                );
            });
            done();
        });
    });
});

@@ -141,25 +141,33 @@
 uld 
-not 
 show 
-anything
+empty input and help
  on 
@@ -208,46 +208,814 @@
     
-var chrome = require('sinon-chrome');%0A
+beforeLoadFunction = function() %7B%0A            page.evaluate(function() %7B%0A                chrome.storage.sync.get = function(cb) %7B%0A                    cb(%7B%7D);%0A                %7D;%0A            %7D);%0A        %7D;%0A%0A        page.open(PATH, function(r) %7B%0A            // Empty input loaded%0A            page.evaluate(function() %7B%0A                assert.equal(%0A                    document.querySelector('input').value,%0A                    ''%0A                );%0A            %7D);%0A%0A            // Top bar shown%0A            page.evaluate(function() %7B%0A                assert.equal(%0A                    document.querySelector('#message h3').innerText,%0A                    'No rewrite rules added'%0A                );%0A            %7D);%0A%0A            done();%0A        %7D);%0A    %7D);%0A%0A    it('should load saved rewrites', function(done) %7B
 %0A   
@@ -1176,10 +1176,88 @@
  cb(
-%5B%5D
+%7B%0A                        'fromdomain.com': 'todomain.com'%0A                    %7D
 );%0A 
@@ -1332,32 +1332,66 @@
 , function(r) %7B%0A
+            // Empty input loaded%0A
             page
@@ -1552,32 +1552,33 @@
             %7D);%0A
+%0A
             done
@@ -1585,28 +1585,29 @@
 ();%0A        %7D);%0A
+%0A
     %7D);%0A%7D);%0A

Add failing test for loading from store.