added 2 passing tests related to sentinel element

demonstrates difference in behaviour with and without a sentinel
element appended to the end of input.
Merge pull request #2 from cantora/sentinel-test

added 2 passing tests related to sentinel element