This tests a transaction getting reorged to a higher height block Please see generate.sh for details.
generate.sh