add test_mlocate.cc, copy shellexp.c from original cruft