Former Hollywood police officer testifies during his battery trial