diff --git a/sites/all/modules/test_1071818/css/ajax.css b/sites/all/modules/test_1071818/css/ajax.css
new file mode 100644
index 0000000..8ace060
--- /dev/null
+++ b/sites/all/modules/test_1071818/css/ajax.css
@@ -0,0 +1,9 @@
+@CHARSET "UTF-8";
+
+div.issue_pass {
+	display: block;
+}
+
+div.issue_fail {
+	display: none;
+}
\ No newline at end of file
diff --git a/sites/all/modules/test_1071818/css/standard.css b/sites/all/modules/test_1071818/css/standard.css
new file mode 100644
index 0000000..4fbdf16
--- /dev/null
+++ b/sites/all/modules/test_1071818/css/standard.css
@@ -0,0 +1,12 @@
+@CHARSET "UTF-8";
+
+.issue_pass {
+	display: none;
+	border: 1px solid green;
+  color: green;
+}
+
+.issue_fail {
+	border: 1px solid red;
+	color: red;
+}
\ No newline at end of file
diff --git a/sites/all/modules/test_1071818/test_1071818.info b/sites/all/modules/test_1071818/test_1071818.info
new file mode 100644
index 0000000..da88036
--- /dev/null
+++ b/sites/all/modules/test_1071818/test_1071818.info
@@ -0,0 +1,6 @@
+name = Stub for 1071818
+description = Stub module to create a test case for issue 1071818
+version = 1.0
+core = 7.x
+files[] = test_1071818.module
+stylesheets[all][] = css/standard.css
diff --git a/sites/all/modules/test_1071818/test_1071818.module b/sites/all/modules/test_1071818/test_1071818.module
new file mode 100644
index 0000000..528eab7
--- /dev/null
+++ b/sites/all/modules/test_1071818/test_1071818.module
@@ -0,0 +1,55 @@
+<?php
+/**
+ * @file test_1071818.module.
+ * Stub module to act as a test harnes for issue 1071818
+ */
+
+function test_1071818_menu() {
+  $items = array();
+  // Menu item to display page with link to issue in it.
+  $items['test1071818'] = array(
+    'title' => 'Test page',
+    'page callback' => 'test_1071818_page',
+    'access arguments' => array('access content'),
+    'type' => MENU_NORMAL_ITEM,
+  );
+
+  /* Menu item to return via ajax which should should the issue (or not if it is
+   * fixed).
+   */
+  $items['test1071818/test'] = array(
+    'title' => 'Test ajax callback',
+    'page callback' => 'test_1071818_ajax_callback',
+    'access arguments' => array('access content'),
+    'delivery callback' => 'ajax_deliver',
+    'type' => MENU_CALLBACK,
+  );
+  return $items;
+}
+
+function test_1071818_page() {
+  // Need to manually add the ajax.js
+  drupal_add_js('misc/ajax.js');
+
+  // Should use render array.
+
+  $content = '';
+  $content .= '<p> click on the link below and you should see if issue 1071818 is fixed or broken on this setup</p>';
+  $content .= l('Test Issue','test1071818/test',array('attributes' => array('class' => array('use-ajax'))));
+  return $content;
+}
+
+function test_1071818_ajax_callback() {
+  drupal_add_css(drupal_get_path('module','test_1071818') . '/css/ajax.css');
+  $commands = array();
+  $html = '<div class="issue_pass"><h3>Pass</h3>This should be shown if the issue is fixed in this setup.</div>
+          <div class="issue_fail"><h3>Fail</h3>This will be shown if the issue is not fixed in this setup.</div>';
+
+  $commands[] = ajax_command_append('.region-content .content', $html);
+  $page = array(
+  '#type' => 'ajax',
+  '#commands' => $commands,
+  );
+
+  return $page;
+}
