Add test for SpaceGroup.