haskell: add three element test case for reversing a linked list