Added test cases for NotBefore and NotOnOrAfter