Fixed _sample_to_time and write_ann in QRSdetector
Adding function to test qrs detection against reference annotation