Fixed TestSettings.py to correctly restore the frame format string.

This fixes TestBreakpointCommand.