finish stack test; create test for singly linked lists