Added tests in TimeValidityTester for full coverage