Add test project.
Use dlmalloc to improve the memory allocation.