Rubio testifies against friend accused of secretly working for Maduro