use define to clean up function call
add simple test for list.h (no CUnit yet)