Fix script test handling of empty scripts

Previously an empty script would evaluate to OP_0