Theory for Molecular Tests of Fundamental Physics