Fixed double linked list tests. (fixes #40)