test for SGR