Add test for cloning with "--reference" repo being a subset of source repo