fixed scripted tests