Add test file for pgc.py