add default formatter to configuration

Also update README.md and add additional test case.