Fixing the ParModelTest.attachAgent