add phpmd test for tests dir.