Adjust tests so frameworks cannot set the grace period.