[FIX] Change the 'TestEnvironment.test_env_dirty' unit test, the old one was testing the garbage collector on the wrong record