CMF-20: added test for the formatter