small cleanup
add testcase, up coverage
Merge pull request #1 from Stranger6667/master

Update formatters test