Clean partially indentation and whitespace in _sub_process method.
Add test that reproduces duplicate fields in form object (GH #24).