test for rg