Estimation of the l_2-norm and testing in sparse linear regression with unknown variance