Improve CryptAlgIdToOID/CryptOIDToAlgId tests, and prevent a crash in