Added testcases for dlist