Musk testifies in Tesla compensation package trial