added offset test.