Testing the correlation function