diff --git a/modules/simpletest/tests/cache.test b/modules/simpletest/tests/cache.test
index 43d1fa1..3ae5867 100644
--- a/modules/simpletest/tests/cache.test
+++ b/modules/simpletest/tests/cache.test
@@ -310,6 +310,32 @@ class CacheClearCase extends CacheTestCase {
                        || $this->checkCacheExists('test_cid_clear3', $this->default_value),
                        t('All cache entries removed when the array exceeded the cache clear threshold.'));
   }
+  
+  /**
+   * Test that clearing one bin does not invalidate items in another bin.
+   */
+  function testOneBinOnly() {
+    global $user;
+    $this->setupLifetime(30);
+    $test_user = $this->drupalCreateUser();
+    $this->drupalLogout();
+    $this->drupalLogin($test_user);
+    $user = $this->loggedInUser;
+    $expire = time() + 600;
+    $this->assert('debug', print_r($user, TRUE), 'Debug');
+    cache_set($this->default_cid, $this->default_value, 'cache_page', $expire);
+    cache_set($this->default_cid, $this->default_value, 'cache', $expire);
+    $this->drupalLogout();
+    $this->drupalLogin($test_user);
+    $user = $this->loggedInUser;
+    cache_clear_all(NULL, 'cache_page');
+    usleep(2000000);
+    $this->assert('debug', print_r($user, TRUE), 'Debug');
+    $this->assertCacheExists(t('Clearing one cache bin does not invalidate items in another.'),
+      $this->default_value,
+      $this->default_cid,
+      'cache');
+  } 
 }
 
 /**
