Fixed invalid free on constant strings in test_list.c
Use generic EACH implementation to implement LIST_EACH macro.
Removed newline from debug macros.