Fix test failing on script having no name