Add a test to verify servers waitFor* methods.

Verify that threads monitoring waitForBrokeringToStart() or
waitForBrokeringToFinish() don't hang indefinitely.
Merge pull request #137 from robertmaynard/server_notification_test

Add a test to verify servers waitFor* methods.