Added tests for double linked list.