worker pool tests + fixes