Added tests for startup / shutdown pooling.