filter-branch: Add tests for submodules in tree-filter