module.exports = function (options) {
    options = options || {};
    var unexpected = (options.unexpected || require('unexpected')).clone();
    unexpected.output.preferredWidth = options.preferredWidth || 80;
    if (typeof options.indentationWidth === 'number') {
        unexpected.output.indentationWidth = options.indentationWidth;
    }
    unexpected.installPlugin(require('magicpen-prism'));

    var themePlugin = options.theme === 'dark' ?
        require('./magicpenDarkSyntaxTheme') :
        require('./magicpenGithubSyntaxTheme');

    return unexpected.clone().installPlugin(themePlugin);
}

@@ -1,8 +1,43 @@
+var extend = require('./extend');%0A%0A
 module.e
@@ -79,16 +79,27 @@
 ptions =
+ extend(%7B%7D,
  options
@@ -104,16 +104,17 @@
 ns %7C%7C %7B%7D
+)
 ;%0A    va

Extend options before chaning them