Add a module test_field.py to tests subpackage.
Reform dqutils.format module.