RqlCursor cursor = r.run(r.db(database).table(table).insert( l ));
RqlObject obj = cursor.next();
Double result = obj.getAs("inserted");
assert result == rowsPerIteration : "Error inserting Data into Database on iteration " + j + " (" + result + " did not equal " + rowsPerIteration +")";
}
RqlCursor cursor = r.run(r.db(database).table(table).count());
assert Double.valueOf(numberOfIterations*rowsPerIteration).equals(cursor.next().getNumber()) : "Error getting large row count";
cursor = r.run(r.db(database).table(table));
long rowCount = 0;
for(RqlObject o: cursor) {