Modified digest utils test cases