Better solution for testing

Note that this test is not passing .. it seems the nonce value is not correct 
if you debug the time_from_nonce you will see that the decoded value is garbage, and thus the date in .. 1970 ...

So you should fix this .. maybe the value is not good .. copy/paste error?