test GC and Disposer