Test GC allocation