visitor: Escape string properly in the pretty printer
test: Add test for implicit cast to const pointer