'Test we can follow an m2m relation after a relation like ForeignKey
that doesn\'t have many objects'

def test_foreign_key_then_m2m(self):

    with self.assertNumQueries(2):
        qs = Author.objects.select_related(u'first_book').prefetch_related(u'first_book__read_by')
        lists = [[six.text_type(r) for r in a.first_book.read_by.all()] for a in qs]
        self.assertEqual(lists, [[u'Amy'], [u'Amy'], [u'Amy'], [u'Amy', u'Belinda']])
