test for expire