finish malloc tests