Make ResizeBy inner class of PoolTest
Use anonymous class instead of FixedSize in PoolTest