format: use `${xxx}` instead of `#{xxx}` && update test case