Make tests pass when run from AS Editor.

Again, sometimes osascript and AS Editor raise
different exceptions!
Add comment.