diff --git a/requery-test/src/main/java/io/requery/test/FunctionalTest.java b/requery-test/src/main/java/io/requery/test/FunctionalTest.java
index <HASH>..<HASH> 100644
--- a/requery-test/src/main/java/io/requery/test/FunctionalTest.java
+++ b/requery-test/src/main/java/io/requery/test/FunctionalTest.java
@@ -771,11 +771,14 @@ public abstract class FunctionalTest extends RandomData {
         for (int i = 0; i < 3; i++) {
             try (Result<Person> query = data.select(Person.class)
                     .where(Person.NAME.equal(name))
+                    .orderBy(Person.NAME)
                     .limit(5).get()) {
                 assertEquals(5, query.toList().size());
             }
             try (Result<Person> query = data.select(Person.class)
-                    .where(Person.NAME.equal(name)).limit(5).offset(5).get()) {
+                    .where(Person.NAME.equal(name))
+                    .orderBy(Person.NAME)
+                    .limit(5).offset(5).get()) {
                 assertEquals(5, query.toList().size());
             }
         }
Resolve #<I> Update test case with orderBy/limit