Fix test script to check that we can sign artifacts with recently generated key.