Max pool size checking.
Test for max pool size.
Improved test.
Min pool size implementation.