Testcases for PMA_ConfigTest modified

memory freed once test is complete!

Signed-off-by: A V Minhaz <minhazav@gmail.com>