restore derivative test