Merge pull request #798 from bspeice/master

Add test cases for positive offsets