Modulus test code for Victors