Testing out terminate and GC