[test] Revise expiration test for legacy and current behaviour
[test] Revise expiration test for legacy and current behaviour

Signed-off-by: Earl Chew <408aef5abfefb2ec478aaf6aa6535a7cc1b91eef@yahoo.com>

sassoftware/python-keyutils