Added unit test for singly linked lists