Moved testing methods into ExecutionState.Debug
Minor refactoring to reduce the number of calls to Queue.clear() that we have to make in ExecutionState.clearRound()