Implemented GPKP methods and tests