Mr. Benavente testified last week that he had helped install a window air-conditioner for Ms. Riley while he was on duty and that he twice drove Mr. James to meetings with Ms. Riley at her apartment in Jersey City .