testing certificate expiration