Issue #20522

Tests to verify the first and second parts of the bug (ModelAdmin.add_view and ModelAdmin.change_view, respectively). Tests confirm the first part of the bug, and don't validate the second half.

Ticket: https://code.djangoproject.com/ticket/20522