make offset test more stable