Better solution for testing

I changed the return type of time_from_nonce ... DATE_TIME is well know .. better that HTTP_DATE, which is more a utility class in the context of web app.