R.I. Gen. Laws § 12-17-9. Defendant as witness.