test PoolIdAllocator