Fix pool grow/shrink api tests
Fix python 2.6 tests

Conflicts:
	.travis.yml