Fix test vs. script