Test #12027 -- email validation for period at end

I just added a test for this as it appears unclear https://code.djangoproject.com/ticket/12027#comment:4 whether this is a bug or not.