Remove redirection flag, and introduce a redirect helper function
Updated utils.ml in tests to allow passing init functions
Replaced multiple calls of finalize with Pervasives.at_exit; moved instances of init rigth after the fork