Add test sample, a simple malloc function.