More challenging modInverse test

This one needs about 150 iterations instead of 12.