Test crypto_digest_smartlist_ends