build.sh and automation test cases