Make combine_things test function deterministic