This test will only work if gc is enabled