PMA_getIcon_test corrected to reflect the changes in the getIcon method