contraints on currentOffset and tests