Problem: Building unit tests fails. Solution: Move params outside of #ifdef.
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
Problem: Not all arguments of trunc_string() are tested. Memory access error when running the message tests. Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run unittests with valgrind. Fix the access error.
Problem: No proper testing of trunc_string(). Solution: Add a unittest for message.c.