Removes orderredict dependency.
Adds tests for formatter helper.