Re #8358. Eliminate a raft of memory leaks in this test.
Re #8358. Eliminate memory leaks in test.
Re #8358. Eliminate memory leaks in test.
Re #8358. Remove deletes that have been replicated in another ticket.

#8685 changed this test and handled the delete in an alternative way.