add test case for class PMA

add test case for class PMA