The rapper and YouTuber has testified in his own trial, a week after it began.