Add Pool.Wait

This closes #56.
Improve test coverage.