fix HomeController tests, some refactoring, exposing last_report