Fix agent test for el5.