Fix tests round 1
Have DebugScopeProxy hand out OPTIMIZED_OUT