Fix unit test break

Fix the test cases to recognize that we are going to convert SHA to SHA1 encoding in order to support the modifyrepo command and validate that the conversion is working the way we expect.