Replace name_locate test program with modify command name_locate. Adapt test. Add two flags, and document supported flags in modify usage.