Update test.cpp

CRT memory leak checking