Testing grouped diagonal estimation.