updated tests so that only offsets are stored in the session