Verify that specs don’t leave unpopped stashes

@charlierudolph this implements #80 
I like both suggestions, thanks! The lead to better factored code. Implemented.