Updated test shell script