Garbage collection unit tests.