Accused-turned-state-witness testifies in Joshlin Smith trial