Add test case for reorgs