Add SessionPool unit test.
Implement SessionPool unit test