write a shell script to automate the test