Add unit test for the peer reaper task.

This only tests the underlying worker routine. This is because the actual public method
launches a go-routine with no out-of-band signaling.

The test would have no way of knowing if the peer reaper is finished, and I don't want to introduce
arbitrary sleeps into my unit tests.
Merge branch 'feature/tests' into develop