Probabilistic test of isomorphism between modules