deltarepo: More tests, better behaviour with incomplete repos.