Fix I/O redirection of script.test.sh