Some tests around linear congruency