Probabalistic test of isomorphism between modules