Test for the expiration date settings.