[test] Test gc without debug.