Add the destructive tests logic removed on 3033e00 by accident.