add port allocator to unit and integration tests