testing peak detection accuracy