Testing offset and limit