removed .saveToFile() from test scripts

Sld.saveToFile() no longer exists