test for output H matrix with gamma_only
