Implementing test client for linked list stack