diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewsThemeIntegrationTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewsThemeIntegrationTest.php
new file mode 100644
index 0000000..9eda7e1
--- /dev/null
+++ b/core/modules/views/lib/Drupal/views/Tests/ViewsThemeIntegrationTest.php
@@ -0,0 +1,88 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\views\Tests\ViewsTest.
+ */
+
+namespace Drupal\views\Tests;
+
+use Drupal\simpletest\WebTestBase;
+
+/**
+ * As views uses a lot of theme related functionality we need to test these too.
+ *
+ * Relates tests are
+ * @see Drupal/system/Tests/Theme/ThemeInfoStylesTest
+ * @see Drupal\views\Tests\ViewRenderTest
+ * @see Drupal/node/Tests/Views/FrontpageTest
+ */
+class ViewsBaseThemeTest extends WebTestBase {
+
+  // We need to test for views content on the front page so need
+  public static $modules = array('views', 'node', 'user');
+
+  public static function getInfo() {
+    return array(
+      'name' => 'Views base theme test',
+      'description' => 'Tests the Views theme integration.',
+      'group' => 'Views theming',
+    );
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+  }
+
+  /**
+   * Tests for exceptions.
+   */
+  public function testFrontPage() {
+    theme_enable(array('test_basetheme', 'test_subtheme'));
+
+    // Make base theme default first
+    \Drupal::config('system.theme')
+        ->set('default', 'test_basetheme')
+        ->save();
+    $this->assertEqual(\Drupal::config('system.theme')->get('default'), 'test_basetheme');
+
+    $account = $this->drupalCreateUser(array());
+    $this->drupalLogin($account);
+
+    // Create article for view on the frontpage.
+    $type_values = array(
+      'type' => 'article',
+      'name' => 'Basic article',
+      'published' => TRUE,
+      'promote' => TRUE,
+    );
+    $this->drupalCreateContentType($type_values);
+
+    $values['type'] = 'article';
+    $values['title'] = $this->randomName();
+    $values['promote'] = TRUE;
+    $values['status'] = TRUE;
+    $values['created'] = REQUEST_TIME;
+
+    $node = $this->drupalCreateNode($values);
+    $this->drupalGet('node/' . $node->id());
+
+    // Views kicks in
+    $this->drupalGet('node');
+    $this->assertRaw($values['title'], "Title found");
+
+    // Make base theme default first
+    \Drupal::config('system.theme')
+        ->set('default', 'test_subtheme')
+        ->save();
+    $this->assertEqual(\Drupal::config('system.theme')->get('default'), 'test_subtheme');
+
+    // Views kicks in
+    $this->drupalGet('node');
+    $this->assertRaw($values['title'], "Title found");
+  }
+
+}
