I just checked and found that this code is not being called.

Do we need to update this test? or just simply remove this block of code?

Because there is no method called .offset