added offset test