Fix pop logic

So you're not actually testing your pop's return functionality, just it's heap-emptying functionality.