Algerian goes on trial for terrorism