adding multiple pop test to stack/queue