Restore tests for Debugger::addFormat()