Testcases for PMA_ConfigTest modified

memory freed once test **tearDown()**