public void TestSmartQueryWithPaging()
        {
            QuerySpec query =
                QuerySpec.BuildSmartQuerySpec(
                    "select {employees:firstName} from {employees} order by {employees:firstName}", 1);

            Assert.AreEqual(7, Store.CountQuery(query), "Expected 7 employees");

            String[] expectedResults = { "Christine", "Eileen", "Eva", "Irving", "John", "Michael", "Sally" };
            for (int i = 0; i < 7; i++)
            {
                JArray result = Store.Query(query, i);
                Assert.AreEqual(JArray.Parse("[[\"" + expectedResults[i] + "\"]]").ToString(), result.ToString(),
                                "Wrong result at page " + i);
            }
        }