Added powmod test.