Add memory test cases for all 4.

For defrag, we remove 99% of edges to see the impact on memory.