Delete memory leaks
Cmake set test