Fix tgamma_ratio tests.