add test with loggamma distribution