Previously if any of the tests that move objects between size pools failed to move anything, then the call to stats.dig would return nil which would then cause assert_operator to error.
This should be a test Failure, rather than an Error so this commit uses a default value of 0 if stats.dig fails to find a key.
Also refactor object movement tests to use stats.dig, rather than :[]
Fix Error in GC Compaction specs
Previously if any of the tests that move objects between size pools
failed to move anything, then the call to stats.dig would return
nilwhich would then cause assert_operator to error.
This should be a test Failure, rather than an Error so this commit uses
a default value of 0 if stats.dig fails to find a key.
Also refactor object movement tests to use stats.dig, rather than :[]