refactoring: revert test to previous state after GC changes