Former Palm Beach town official testifies against contractor in “unlawful compensation” case