Added the cache of combined edges; added more simple test models.