[PATCH audrey] fixing python backwards compatibility in the agent test file