Rename pop_field to remove_by_field_name

Add some documentation and move test to test_dynamic_api.py