Use test in build.sh