Improved success criteria for inversion tests.