Update R-peak test at the end (option)