adding check for expiry date for the token

adding a test to test verification with expired date