pml test code merge