Fixing old variable names in testSGP