test regeneration