Updated FormattingTests test case to use settings contexts