Add Offset unit test.