Added crash controller testing using dependency injection