Fix failing test so it uses proper method to destroy associated objects