Refactored nested cond in run queue processing into proc runs:process-expanded-tests