Fix pool grow/shrink api tests