Created by: kbinias
This PR fixes the memory leak in the module that initiates all unit tests.
The fix is not critical because the system will deallocate the memory when exiting the function, but limits the number of errors in the AddressSanitizer report: ==56712==ERROR: LeakSanitizer: detected memory leaks