def METHOD_NAME(self):
    for concept_id in range(50):
        c = Concept()
        c.id = concept_id
        c.labels = [Label('test', language_id='en-us')]
        update_last_visited_concepts(
            self.request, {'label': c.label(), 'url': f'http://test.test/{concept_id}'}
        )
    self.assertEqual(4, len(self.request.session['last_visited']))
    last = self.request.session['last_visited'].pop()
    self.assertEqual('http://test.test/49', last['url'])