by default no test
compiles
diff --git a/test/test_app_socket.cc b/test/test_app_socket.cc
index 8a3f864..6a6e04a 100644
--- a/test/test_app_socket.cc
+++ b/test/test_app_socket.cc
@@ -49,11 +49,11 @@
     // cout << str1 << ", " << str2 << endl;
   }
 
-  void fetchAll(vector<MissingDataInfo> &v, SyncAppSocket *socket) {
+  void fetchAll(const vector<MissingDataInfo> &v, SyncAppSocket *socket) {
     int n = v.size();
     for (int i = 0; i < n; i++) {
-      SeqNo s = ++v[i].low;
-      for(; s <= v[i].high; ++s) {
+      SeqNo s = v[i].low;
+      for(++s; s <= v[i].high; ++s) {
         socket->fetchString(v[i].prefix, s, bind(&TestSocketApp::set, this, _1, _2));
       }
     }
diff --git a/test/test_sync_logic.cc b/test/test_sync_logic.cc
index 0d77cd0..2cfde28 100644
--- a/test/test_sync_logic.cc
+++ b/test/test_sync_logic.cc
@@ -44,7 +44,7 @@
   {
   }
 
-  void wrapper (vector<MissingDataInfo> &v) {
+  void wrapper (const vector<MissingDataInfo> &v) {
     int n = v.size();
     for (int i = 0; i < n; i++) {
       onUpdate (v[i].prefix, v[i].high, v[i].low);