Added UT for IsGoodTillTimeValid.