new SG testcases and other changes..