Added some rudimentary testing to build.sh/env.sh