Fix typo in text asset autosave test script

Addresses #848