test_formatter.py : Implemented tests