test_peaks.Rd ready

Removed few little, but annoying bugs