def test_added_books_delete(self):
        added_book_third = AddedBook.objects.get(id_user=self.the_user1,
                                                 id_book=Book.objects.get(book_name='Third Book'))
        added_book_sixth = AddedBook.objects.get(id_user=self.the_user2,
                                                 id_book=Book.objects.get(book_name='Sixth Book'))
        added_book_third.delete()
        added_book_sixth.delete()

        self.assertEqual(AddedBook.objects.all().count(), 6)
        self.assertEqual(AddedBook.objects.filter(id_user=self.the_user1).count(), 2)
        self.assertEqual(AddedBook.objects.filter(id_user=self.the_user1).count(), 2)
        self.assertEqual(AddedBook.objects.filter(id_book=Book.objects.get(book_name='Sixth Book')).count(), 3)
        self.assertEqual(AddedBook.objects.filter(id_book=Book.objects.get(book_name='Third Book')).count(), 1)

        self.assertEqual(AddedBook.objects.filter(id_user=self.the_user1,
                                                  id_book=Book.objects.get(book_name='Third Book')).count(), 0)
        self.assertEqual(AddedBook.objects.filter(id_user=self.the_user2,
                                                  id_book=Book.objects.get(book_name='Sixth Book')).count(), 0)