Add test cases for GC API