Handle offset 0; apply offset in s:next
Add test cases for offset 0
Merge pull request #23 from nkouevda/offset

Handle offset 0; apply offset in s:next