The Spanish judge known for indicting the former Chilean dictator, Augusto Pinochet, is on trial over his own handling of a corruption investigation.