malloc tests added