Add hunit testing
use heredoc for multiline strings, and remove debug output