Re #8358. Remove deletes that have been replicated in another ticket.

#8685 changed this test and handled the delete in an alternative way.
Merge branch 'bugfix/8358_dataobjects_test_memory_leaks' into develop