Removed test code.. Now have the memory leaks again