Fix box test for expires