added test for the cross correlation