add test for the wieghts of the grad