workerpool: improve panic test