updated formatter testcase