Add unit testing with Boost and improve comment handling.