add output formatter on pmd target and improve test of produced files