Former S. African president in court over corruption