updated unittest and crypto dependency