garbage collection test case