fixed build script to run test