Add smoke test of the gc.