Add XG tests.