Added unit test functionality for singly linked lists