Add test for allocation_mode: 'pool'