- Added some unit tests for inpool
- Made some fixes to inpool, eg. max + 1 so we can actually provide a pool of requested size