TST: stats: Add a test for the loggamma distribution stats.