Any testimony by which an advantage is gained by or a detriment averted from the witness shall be rejected.