Correct nextOffset test