added test for PGM, fixed readICSP