add tests for ListController.best_period_for