diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleStaticTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleStaticTest.php
new file mode 100644
index 0000000..1f0c729
--- /dev/null
+++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleStaticTest.php
@@ -0,0 +1,43 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\Locale\Tests\LocaleStaticCacheTest.
+ */
+
+namespace Drupal\locale\Tests;
+
+use Drupal\simpletest\WebTestBase;
+
+/**
+ * Test LocaleStaticTest methods to ensure static cache gets cleared everytime _local_rebuild_js is called.
+ */
+class LocaleStaticTest extends WebTestBase {
+  public static $modules = array('locale');
+
+  public static function getInfo() {
+    return array(
+      'name' => 'Locale static cache clearing Tests',
+      'description' => 'Tests that the checks if static cache is being cleared whenever rebuild js or not.',
+      'group' => 'Locale',
+    );
+  }
+
+  /**
+   * This test is attempting to test if the static cache for language
+   * list gets cleared or not everytime  a call to locale_rebuild_js is made.
+   */
+  public function testLocaleStatic() {
+    // Initialized an empty language object
+    $test_language = array();
+    // Test data
+    drupal_static('language_list', array('test_static' => $test_language));
+    _locale_rebuild_js();
+    $lang_list = language_list();
+    // Expecting lang_list to have test index still in there if the static cache was not reset.
+    if (array_key_exists('test', $lang_list))
+      $this->assertFalse('The language cache was not cleared.');
+    else
+      $this->assertTrue('The language cache was cleared successfully.');
+  }
+}
