Fix derivative and peakfitting history tool test