lib/list-test: add a test for the 'list' doubly linked list