     const unsigned int n = 113;
     
     thrust::host_vector<int> h_keys(n);
+    thrust::default_random_engine rng;
     for(size_t i = 0, k = 0; i < n; i++){
         h_keys[i] = k;
-        if (rand() % 10 == 0)
+        if (rng() % 10 == 0)
             k++;
     }
     thrust::device_vector<int> d_keys = h_keys;



template <typename T>
void TestScanByKey(const size_t n)
{
    thrust::host_vector<int> h_keys(n);
    for(size_t i = 0, k = 0; i < n; i++){
        h_keys[i] = k;
        if (rand() % 10 == 0)
            k++;
    }
    thrust::device_vector<int> d_keys = h_keys;

}
DECLARE_UNITTEST(TestScanByKeyWithLargeTypes);

