Fix memory leaks in the crypto tests
Fix memory leaks in data manager tests
Fix memory leaks in object store tests
Fix memory leaks in the slot manager tests