Unit test for swapoutOrphanBlocks