He used chromatography and mass spec to match the chemical composition, along with taste tests.
Many people also tried this recipe and can't tell the difference in blind tests between it and various types of Coke.