Adjust GC for tests