Update and rename test.sh to pil_test.sh