Fixed compilation bug in the unit tests thanks to change in flush_and_destroy_txn.