[MRG] fix failing histogram tests at the head of the ROOT 5.34 branch

Due to the new "ERROR: Function: gaus is not a TF2"