Fixed formatter
Restructured textfield formatting, added one example test case