Fix overallocated channel in test.