Tests internal GC functions which are not exposed through normal APIs.