Add tests for CryptUtils and switch to Common.Logging