Adding and testing addition functionality to testSGP for updateSGP