Move test-related stuff out of assert.n.

[Delivers #59229378]