Fixed access Violation error by setting TestEngine member data variables to NULL