Make sure that results generation work fine with multiple test threads

[#67779220]