Passing test of pop without elements in stack