Test cases for linked list and stack, fix stack push operation