move test to build_script