ts::identity::tests::improve_level_keeps_the_key made its identity with
Identity::create(), which stops at the first counter whose level is 8 or more,
and asked improve_level for 13. About one identity in 32 has 13 or more
already, and improve_level then returns it as it is, so the assertion that the
counter grew failed: 8 failures in 300 runs of the single test before this
change, 0 in 300 after.
The target is now three levels above what the identity has, so the search
always runs. The assertions on the level, the callbacks and the counter use
that target.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>