Use sg--test in a submodule to streamline tests.