add bash script to build and run test