Fixed the test shell script