Fixing an issue in the test code of GLARP and adding a primary version of the parallel version