fix the ProgramsControllerTest by mocking the StatsComponent