simplified test.sh