Memory leak error is fixed

All test projects are removed