Testcases for sentinel

Testcases for sentinel