Memory Leak Tests

Created memory leak tests