Former mayor in court over funeral fund theft