new SG tests and other related changes