Update testscript.js

finishes fixing an issue with the end of the turns, better arranged