Add Sleep class for some test like expire method; ref #26