c: Add test for puts/malloc/free on multicores.