diff --git a/entity.test b/entity.test
index 03c2551..d373039 100644
--- a/entity.test
+++ b/entity.test
@@ -162,6 +162,13 @@ class EntityAPITestCase extends EntityWebTestCase {
     $this->assertEqual($revision->revision_id, $entity_third_revision->revision_id, 'Revision successfully loaded.');
     $this->assertFalse($revision->default_revision, 'Entity revision is not marked as default revision after loading.');
 
+    // Load not default revision after loading all entities. Revisions are not
+    // statically cached, and require a different query to other conditions, so
+    // cache should not be used.
+    $entities_all = entity_load('entity_test2');
+    $revision = entity_revision_load('entity_test2', $entity_third_revision->revision_id);
+    $this->assertEqual($revision->revision_id, $entity_third_revision->revision_id, 'Revision successfully loaded after filling static cache.');
+
     // Save not default revision.
     $entity_third_revision->title = 'third revision updated';
     $entity_third_revision->field_text[LANGUAGE_NONE][0]['value'] = 'third revision text updated';
