Better solution for testing

I know this is in 1970. The thing is that the nonce does not have the format I use.
But for me, the test was passing. This is strange - maybe something changed.