added 2 passing tests related to sentinel element

demonstrates difference in behaviour with and without a sentinel
element appended to the end of input.