Unit test to catch expiration_date update bug