Adds pop test for stack.