Fix scripted tests broken by #18 .

Somehow I didn't notice that #18 broke the scripted tests. Fixed!