- #2071749 by sun: Fixed Testing API error handling, Testing API key auto-recovery, and confusing testing mode behavior.