Add test coverage for formatters