Update test.py

Sld.saveToFile() no longer exists