test for output XC matrix with gamma_only
