Add selftest for 'git submodule foreach'