Tunisia has proved itself to be a counterexample to the rest of the region torn by civil strife and refugee crisis.