Added repo factory test
Added a test for the nonce factory service