Add test for multiple_fast_inv.

That test would fail with earlier versions of the routine.