add tests for detectPeaks and determineWarpingFunctions
add doByLabels tests
test halfWindowSize argument
add estimateBasline tests