Remove more compile errors and fixed DigestTests
Move DigestHelper