Passing test of two pop calls and exception