Make ResizeBy inner class of PoolTest