Fix test script for NameCrypto