Merged unittests for dlist and slist