One of three men on trial said he was mimicking the comedian’s skit