Polanski testifies, Lohan gets more community service