Added a test for the nonce repository