add test script to set build environment