add xcorr tests