Manual Memory Management tests