Add test for before_pause hook

Ostensibly this is just adding a test around before_pause.

But.

This is also a pattern for testing anything related to pause.  I feel like it's....cute. Maybe too cute.  But it does test what I want it to.

If I don't hear any objections I'll merge it, and add the after_pause test (as well as some other things...).

Thanks!