adds a test for escape handling of phpmd (refs #38)