before run test.sh, set ROOT_DIR in scripts/init.sh to be the project's absolute root path.
test commands
. test.sh # boot a local chain, build and deploy the contract
. test.sh deploy # rebuild and update the contract
. test.sh test # run test commands