Add test for PortAllocationManager#allocate()
Test allocateRandom