Abstract out this `test_name` computation.