adding more tests for an edge case we didnt consider
Merge pull request #6 from segmentio/fix/shared-prefix

adding more tests for an edge case we didnt consider