Refined combine-two-strings test