Instanciate the raven object after the appender initialisation
Redirect raven logging during tests
Fix imports