test: add testcase for formatter issue #163