Add test for the formatter