Testing a shell script