update build_and_test.sh