Added next test after popping multiple elements.
On branch master
modified:   test/next-test.js