Added test for Stack.pop() method.